<?php
include_once 'titulo.php';
if ($_SESSION['IdUsuario']) {
    ?>

    <html>
        <head>
            <title> Chamados</title>
            <?php
            include_once 'MySQL.php';
            include_once 'cabecalho.php';
            include_once 'script/functions.php';
            ?>

            <title>Vidracaria</title>
            <script type="text/javascript" src="script/jquery-1.6.3.min.js"></script>
            <script src="script/jquery.maskMoney.js" type="text/javascript"></script>
            <script type="text/javascript" src="script/jquery.maskedinput-1.3.min.js"></script>
            <script>
                $(function(){
                    $("#real").maskMoney({symbol:"R$",decimal:".",thousands:""});
                    $("#entrada").maskMoney({symbol:"R$",decimal:".",thousands:""});
                    $("#alterarPagamento").maskMoney({symbol:"R$",decimal:".",thousands:""});
                });
            </script>
            <script>
                jQuery(function($){
                    $("#reagendar").mask("99/99/9999");
                    $("#InserirServico").mask("99/99/9999");
                    $("#AlterarPaga").mask("99/99/9999");
                    $("#PesqConcluido").mask("(99) 9999-9999");
                });
            </script>
        </head>
        <body>
            <div class="total2">
                <?php
                include_once 'titulo.php';
                ?>
                <div class="cabecalho">
                </div>
                <?php
                include_once 'menuHorizontal.php';
                ?>
                <div class="total">
                </div>
            </div>
        </body>
    </html>
    <?php
} else {
    header("location: session_expirada.php");
}
?>


<?php

function executaSQL($sql) {
    $mySQL = new MySQL;
    $resultado = $mySQL->execSP($sql);
    return $resultado;
}
?>
